package com.hanxiaozhang.base.service;

import com.hanxiaozhang.base.entity.DictEntity;

import java.util.List;
import java.util.Map;

/**
 * 数据字典
 * 
 * @author hanxiaozhang
 * @email hanxiaozhang2018@sina.com
 * @date 2021-04-07
 */
public interface DictService {
	
	DictEntity get(Long dictId);
	
	List<DictEntity> list(Map<String, Object> map);
	
	int save(DictEntity dict);
	
	int update(DictEntity dict);
	
	int remove(Long dictId,String type);

	int batchRemove(Long[] dictIds, String[] types);


	List<DictEntity> listByType(String type);

}
